package cn.hg.solon.youcan.system.service;

import java.util.Date;
import java.util.Map;

import com.mybatisflex.core.paginate.Page;
import com.mybatisflex.core.service.IService;

import cn.hg.solon.youcan.system.entity.SysUserOnline;

/**
 * @author 胡高
 */
public interface SysUserOnlineService extends IService<SysUserOnline> {

    boolean offline(String token);

    Page<SysUserOnline> pageByMap(Page<SysUserOnline> page, Map<String, Object> map);

    void syncActivityTime(String token, Date datetime);
}
